package cn.knightzz.mapper;

import cn.knightzz.entity.SysMessage;
import cn.knightzz.entity.SysUserMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author knightzz
 * @since 2021-05-07
 */
public interface SysUserMessageMapper extends BaseMapper<SysUserMessage> {
    List<SysMessage> getMessageByUserId(Long userId);
}
